SELECT FORMMAIN_2269.FIELD0006 glbdef1,"TO_CHAR"(FORMMAIN_2269.FIELD0010,'yyyy-MM') glbdef2,
CTP_ENUM_ITEM.SHOWVALUE glbdef3,FORMMAIN_2269.FIELD0012 glbdef4,"TO_CHAR"(FORMMAIN_2269.FIELD0013,'yyyy-MM-dd HH:mm:ss') glbdef5,
ORG_UNIT."NAME" glbdef6,ORG_POST."NAME" glbdef7,ORG_MEMBER.CODE usercode,FORMMAIN_2269.FIELD0017,FORMMAIN_2269.FIELD0018,FORMMAIN_2269.FIELD0019,
FORMMAIN_2269.FIELD0024,FORMMAIN_2269.FIELD0025,FORMMAIN_2269.FIELD0026
FROM COL_SUMMARY 
LEFT JOIN FORMMAIN_2269 ON FORMMAIN_2269."ID" = COL_SUMMARY.FORM_RECORDID
LEFT JOIN CTP_ENUM_ITEM ON CTP_ENUM_ITEM."ID" = FORMMAIN_2269.FIELD0011
LEFT JOIN ORG_POST ON ORG_POST."ID" = FORMMAIN_2269.FIELD0014
LEFT JOIN ORG_UNIT ON ORG_UNIT."ID" = FORMMAIN_2269.FIELD0002
LEFT JOIN ORG_MEMBER ON ORG_MEMBER."ID" = FORMMAIN_2269.FIELD0001
WHERE COL_SUMMARY."ID" = '${id}'